// File Name: ICustomProvider.h

#ifndef ICUSTOMPROVIDER_H
#define ICUSTOMPROVIDER_H

#include <UIAutomation.h>
#include <UIAutomationCore.h>

namespace UIAutomationCPP
{
	interface __declspec(uuid("FE46740D-71CB-48F6-8D5B-7224857F6534"))
	ICustomProvider : public IRawElementProviderSimple/*, IRawElementProviderAdviseEvents, IRawElementProviderHwndOverride*/
	{
		public:
			STDMETHOD (get_IsReadOnly)(BOOL *pIsReadOnly) = 0;
			STDMETHOD (get_Value)(BSTR *pValue) = 0;
			STDMETHOD (SetValue)(LPCWSTR pNewValue) = 0;
			STDMETHOD (Reset)() = 0;
	};
}
#endif
